var sys = require('sys');
var http = require('http');

http.createServer(function(req,res){
	setTimeout(function(){
		res.writeHeader(200,{'Content-Type': 'text/plain'});
		res.end('hello world');
		res.end();
	},200);
}).listen(8000);

sys.puts('Server running at http://localhost:8000');